package farm.pattern.command;


import farm.entity.FarmMachine;
import farm.pattern.state.RunningState;

public class StartCommand implements Command {
    @Override
    public void execute(FarmMachine machine) {
        machine.setState(new RunningState());
        System.out.println(machine.getType() + " 启动命令执行");
    }
}